package com.blog.entity;

import java.util.Date;

//留言实体
public class Message {
    //    留言编号
    private Integer messageId;
    //    被留言用户ID
    private Integer userId;
    //    发表留言用户的ID
    private Integer readerId;
    //    留言内容
    private String messageContent;
    //    留言时间
    private Date messageTime;


    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getReaderId() {
        return readerId;
    }

    public void setReaderId(Integer readerId) {
        this.readerId = readerId;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public Date getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(Date messageTime) {
        this.messageTime = messageTime;
    }
}
